<div class="bjui-pageContent">
    <form action="admin/process/copy" data-toggle="ajaxform" data-options="{closeCurrent:true,tabid:'process-list'}">
        <div class="bjui-row">

            <label class="row-label">工序名称</label>
            <div class="row-input">
                <input type="text" name="title" value="{{$info['title']}}">
            </div>

            <label class="row-label">数量</label>
            <div class="row-input">
                <select name="is_sum" data-toggle="selectpicker">
                    @if ($info['is_sum'] == 1 )
                        <option value="0">不累加</option>
                        <option value="1" selected>累加</option>
                    @else
                        <option value="0" selected>不累加</option>
                        <option value="1">累加</option>
                    @endif
                </select>
            </div>

            <label class="row-label">工序类型</label>
            <div class="row-input">
                <select name="type" data-toggle="selectpicker">
                    @foreach ($typeList as $val)
                        @if ($val['id'] == $info['type'])
                            <option value="{{$val['id']}}" selected>{{$val['title']}}</option>
                        @else
                            <option value="{{$val['id']}}">{{$val['title']}}</option>
                        @endif
                    @endforeach
                </select>
            </div>

            <label class="row-label"></label>
            <div class="row-input">
                <button type="submit" class="btn-default">确定复制</button>
            </div>
        </div>
        <input type="hidden" name="is_submit" value="1">
        <input type="hidden" name="is_last" value="{{$info['is_last']}}">
        <input type="hidden" name="id" value="{{$info['id']}}">
    </form>
</div>